<!DOCTYPE html>
<html>
	<head th:replace="/mobile/common::head(~{::custom_settings})">
		<th:block th:fragment="custom_settings">
			<title>顺山科技智慧生活服务平台</title>
			<link type="text/css" rel="stylesheet" th:href="@{{css}/mobile/merchant/merchantinfo/merchantinfo.css(css=${css})}"/>
		</th:block>
	</head>
	<body>
		<div id="" class="weui-tab__bd-item weui-tab__bd-item--active">
			<div class="weui-container-fluid">
				<div class="weui-form-preview">
					<div class="weui-form-preview__hd">
						<label class="weui-form-preview__label">商户名</label>
						<em class="weui-form-preview__value" th:text="${info.merchantname}"></em>
					</div>
					<div class="weui-form-preview__hd">
						<label class="weui-form-preview__label">商户电话</label>
						<em class="weui-form-preview__value" th:text="${info.merchantphone}"></em>
					</div>
					<div class="weui-form-preview__hd">
						<label class="weui-form-preview__label">身份证号</label>
						<em class="weui-form-preview__value" th:text="${info.idnumber}"></em>
					</div>
					<div class="weui-form-preview__hd">
						<label class="weui-form-preview__label">开户银行</label>
						<em class="weui-form-preview__value" th:text="${info.bankkfname}"></em>
					</div>
					<div class="weui-form-preview__hd">
						<label class="weui-form-preview__label">开户网点</label>
						<em class="weui-form-preview__value" th:text="${info.bankwdname}"></em>
					</div>
					<div class="weui-form-preview__hd">
						<label class="weui-form-preview__label">账户名称</label>
						<em class="weui-form-preview__value" th:text="${info.accountname}"></em>
					</div>
					<div class="weui-form-preview__hd">
						<label class="weui-form-preview__label">银行卡号</label>
						<em class="weui-form-preview__value" th:text="${info.bcnumber}"></em>
					</div>
					<div class="weui-form-preview__hd">
						<label class="weui-form-preview__label">身份证正面</label>
						<a class="weui-form-preview__value" th:data="${info.idpositive}" onclick="lookpic(this)">查看</a>
					</div>
					<div class="weui-form-preview__hd">
						<label class="weui-form-preview__label">身份证反面</label>
						<a class="weui-form-preview__value" th:data="${info.idnegative}" onclick="lookpic(this)">查看</a>
					</div>
					<div class="weui-form-preview__hd">
						<label class="weui-form-preview__label">营业执照</label>
						<a class="weui-form-preview__value" th:data="${info.businesslicense}" onclick="lookpic(this)">查看</a>
					</div>
					<div class="weui-form-preview__hd">
						<label class="weui-form-preview__label">账户总额</label>
						<em class="weui-form-preview__value">￥<label th:text="${info.surplusmoeny}"></label><label th:text="'('+${info.realsurplusmoeny}+')'"></label><span th:style="${info.autosettle} ? 'display:none' : 'display:inline'" id="weui-settle-accounts" th:data="${info.realsurplusmoeny}" onclick="settlement(this)">结算</span></em>
					</div>
				</div>
				<div class="weui-cells weui-cells_form">
					<div class="weui-cell weui-cell_switch">
						<div class="weui-cell__bd">短信通知</div>
						<div class="weui-cell__ft">
							<input class="weui-switch" type="checkbox" th:checked="${info.smnotify} ? checked : null" onclick="toggle(this,1)" />
						</div>
					</div>
					<div class="weui-cell weui-cell_switch">
						<div class="weui-cell__bd">自动结算</div>
						<div class="weui-cell__ft">
							<input class="weui-switch" type="checkbox" th:checked="${info.autosettle} ? checked : null" onclick="toggle(this,2)" />
						</div>
					</div>
				</div>
			</div>
		</div>
	<script type="text/javascript" th:src="@{{js}/mobile/merchant/merchantinfo/merchantinfo.js(js=${js})}"></script>
	</body>
</html>